# encoding: utf-8
jiabin = ['zhangsan','lisi','wangwu','maliu','sunqi']
print(jiabin)
jiabin.remove('lisi')
jiabin.insert(1,'xiena')
print(jiabin)
jiabin.insert(0,'hejiong')
print(jiabin)
jiabin.insert(3,'liweijia')
jiabin.append('haitao')
print(jiabin)

print("抱歉，只能邀请两位嘉宾！")
jiabin_tichu = jiabin.pop()
print('请'+jiabin_tichu+'下次光临！')
print(jiabin)

jiabin_tichu = jiabin.pop()
print('请'+jiabin_tichu+'下次光临！')
print(jiabin)

jiabin_tichu = jiabin.pop()
print('请'+jiabin_tichu+'下次光临！')
print(jiabin)

jiabin_tichu = jiabin.pop()
print('请'+jiabin_tichu+'下次光临！')
print(jiabin)

jiabin_tichu = jiabin.pop()
print('请'+jiabin_tichu+'下次光临！')
print(jiabin)

jiabin_tichu = jiabin.pop()
print('请'+jiabin_tichu+'下次光临！')
print(jiabin)

jiabin_chuxi = jiabin[0]
print('请'+jiabin_chuxi+'准时光临！')
jiabin_chuxi = jiabin[1]
print('请'+jiabin_chuxi+'准时光临！')
del jiabin[0]
del jiabin[0]
print(jiabin)
print("名单已清空。")

